<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"> 

<f:view>

		<h:head>
		   <title>Rach Auto</title>
		   <h:outputStylesheet library="css" name="styles.css"/>
		</h:head> 
		<body> 
	
		<p:layout fullPage="true">
		
		    <p:layoutUnit position="north" size="50"  resizable="false" closable="false" >
		        <ui:include src="/templates/menuBar.xhtml"></ui:include>      
		    </p:layoutUnit>
		
		    <p:layoutUnit position="west" size="250" resizable="true" closable="true" collapsible="true">
		         <ui:include src="/templates/menuVertical.xhtml"></ui:include> 
		    </p:layoutUnit>
		
		    <p:layoutUnit position="east" size="300"  resizable="true" closable="true" collapsible="true" effect="drop">
				     <p:accordionPanel multiple="true">
                        <p:tab title="Calendrier">
                            <br />
                            <p:calendar mode="inline" navigator="none"/>
                            <br />
                        </p:tab>

                        <p:tab title="Autres liens">
						    <h:form>
							  <h:panelGrid columns="1">
									<h:commandLink value="layoutElements" action="/templates/layouts/layoutElements"/><br />
									<h:commandLink value="layoutComplexs" action="/templates/layouts/layoutComplex"/><br />
									<h:commandLink value="layoutMail" action="/templates/layouts/layoutMail"/><br />
						      </h:panelGrid>
							</h:form>
                        </p:tab>

                        <p:tab title="Menu 3">
                           <!-- 
                            <p:feedReader value="http://rss.news.yahoo.com/rss/sports" var="feed">  
							    <h:outputText value="#{feed.title}" style="font-weight: bold"/>  
							    <br />  
							    <h:outputText value="#{feed.description.value}" escape="false"/>  
							    <p:separator />  
							</p:feedReader>  
							 -->
                        </p:tab>
                    </p:accordionPanel>
                    
					
		    </p:layoutUnit>
		    
		    <p:layoutUnit position="center">   
		       <!--  
		        <ui:include src="/views/ajouter_candidat.xhtml"></ui:include>  
		        <ui:include src="/page1.xhtml"></ui:include>
		        <ui:include src="#{templateHandler.contentTarget}" />
		       -->  
		       <p:outputPanel id="contenu">
		              <p:messages autoUpdate="true" closable="true" id="msgs" showDetail="true" showSummary="false" />
			          <ui:include src="#{templateHandler.contentTarget}" />
		       </p:outputPanel>

		    </p:layoutUnit>
		
		</p:layout>
                  
	</body>

</f:view> 
</html>
